package com.example.edu.client;

import com.example.utils.Result;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class VodClientHystrix implements VodClient{
    @Override
    public Result deleteVideo(String id) {
        return Result.error().message("开启熔断");
    }

    @Override
    public Result deleteVideos(List<String> ids) {
        return Result.error().message("开启熔断");
    }
}
